SELECT a.*,c.user_login,c.user_nicename,b.term_id,b1.name as term_name FROM kit_posts a INNER JOIN kit_term_relationships b ON a.id = b.object_id INNER JOIN kit_terms b1 ON b1.term_id=b.term_id INNER JOIN kit_users c ON a.post_author = c.id WHERE ( a.id=5 and b.term_id=1 ) LIMIT 1 [ RunTime:0.0006s ]
SHOW COLUMNS FROM `kit_terms` [ RunTime:0.0008s ]
SELECT * FROM `kit_terms` WHERE `term_id` = 1 LIMIT 1 [ RunTime:0.0003s ]
UPDATE `kit_posts` SET `post_hits`=post_hits+1 WHERE `id` = 5 [ RunTime:0.0005s ]
SHOW COLUMNS FROM `kit_term_relationships` [ RunTime:0.0006s ]
SELECT * FROM kit_term_relationships a INNER JOIN kit_posts as b on a.object_id =b.id INNER JOIN kit_users as c on b.post_author = c.id WHERE b.id > 5 AND `post_date` >= '2017-07-17 09:55:08' AND a.status = 1 AND a.term_id = 1 AND `post_status` = 1 ORDER BY post_date asc,b.id asc LIMIT 1 [ RunTime:0.0011s ]
SELECT * FROM kit_term_relationships a INNER JOIN kit_posts as b on a.object_id =b.id INNER JOIN kit_users as c on b.post_author = c.id WHERE b.id < 5 AND `post_date` <= '2017-07-17 09:55:08' AND a.status = 1 AND a.term_id = 1 AND `post_status` = 1 ORDER BY post_date desc,b.id desc LIMIT 1 [ RunTime:0.0010s ]
SHOW COLUMNS FROM `kit_options` [ RunTime:0.0006s ]
SELECT `option_value` FROM `kit_options` WHERE `option_name` = 'cdn_settings' LIMIT 1 [ RunTime:0.0003s ]
SHOW COLUMNS FROM `kit_comments` [ RunTime:0.0010s ]
SELECT * FROM kit_comments c WHERE ( post_id=5 and status=1 ) ORDER BY createtime desc LIMIT 0,10 [ RunTime:0.0003s ]
SHOW COLUMNS FROM `kit_posts` [ RunTime:0.0010s ]
SELECT * FROM kit_posts p WHERE ( parent=5 ) ORDER BY post_date desc LIMIT 0,3 [ RunTime:0.0007s ]